/**********************************************
这是代码自动生成的，如果重新生成，所做的改动将会丢失
系统:Itop隐患排查
模块:系统平台
Itop.com 版权所有
生成者：Rabbit
生成时间:2011-12-24 14:54:48
***********************************************/

using System;
using System.Threading;
using System.ComponentModel;
namespace Itop.YHPC.Model
{
    /// <summary>
    ///[yhpcMain]业务实体类
    ///对应表名:yhpcMain
    /// </summary>
    [Serializable]
    public class yhpcMain
    {
        
        #region Private 成员
        private string _id=Newid(); 
        private string _gdgs=String.Empty; 
        private string _yhjt=String.Empty; 
        private string _yhly=String.Empty; 
        private string _yhbh=String.Empty; 
        private string _yhdwid=String.Empty; 
        private string _yhdw=String.Empty; 
        private string _yhzyfl=String.Empty; 
        private string _yhfxr=String.Empty; 
        private string _fxrdwid=String.Empty; 
        private string _fxrdw=String.Empty; 
        private DateTime _fxrq=new DateTime(1900,1,1); 
        private string _fxyhnr=String.Empty; 
        private string _knhg=String.Empty; 
        private string _ypgdj=String.Empty; 
        private string _ypgfzr=String.Empty; 
        private DateTime _ypgrq1=new DateTime(1900,1,1); 
        private string _ypgsh2=String.Empty; 
        private DateTime _ypgrq2=new DateTime(1900,1,1); 
        private string _ypgsh3=String.Empty; 
        private DateTime _ypgrq3=new DateTime(1900,1,1); 
        private string _pgdj=String.Empty; 
        private string _pgfzr=String.Empty; 
        private DateTime _pgrq1=new DateTime(1900,1,1); 
        private string _pgsh2=String.Empty; 
        private DateTime _pgrq2=new DateTime(1900,1,1); 
        private string _pgsh3=String.Empty; 
        private DateTime _pgrq3=new DateTime(1900,1,1); 
        private string _pgsh4=String.Empty; 
        private DateTime _pgrq4=new DateTime(1900,1,1); 
        private string _ykcs=String.Empty; 
        private string _zgcs=String.Empty; 
        private string _zldw=String.Empty; 
        private string _zlr=String.Empty; 
        private DateTime _zlrq1=new DateTime(1900,1,1); 
        private DateTime _zlrq2=new DateTime(1900,1,1); 
        private string _zlwcqc=String.Empty; 
        private string _yssqdw=String.Empty; 
        private string _yssqfzr=String.Empty; 
        private DateTime _yssqrq=new DateTime(1900,1,1); 
        private string _yszzdw=String.Empty; 
        private string _ysyj=String.Empty; 
        private string _ysjl=String.Empty; 
        private string _yssfxc=String.Empty; 
        private string _yszz=String.Empty; 
        private DateTime _ysrq=new DateTime(1900,1,1); 
        private string _lcflag=("0"); 
        private string _tjflag=("0"); 
        private string _bhflag=("0"); 
        private string _gsbm=String.Empty; 
        private string _tjr=String.Empty; 
        private string _dqyh=String.Empty; 
        private DateTime _dqyhsj=new DateTime(1900,1,1); 
        private DateTime _tjrq=new DateTime(1900,1,1); 
        private string _backflag=String.Empty; 
        private string _backer=String.Empty; 
        private DateTime _backdate=new DateTime(1900,1,1); 
        private string _lcstatus=String.Empty; 
        private string _zlflag=String.Empty; 
        private string _zlstatus=String.Empty; 
        private string _lcrecord=String.Empty; 
        private string _fxrgh=String.Empty; 
        private string _sfzykz=String.Empty; 
        private int _jlje=0; 
        private int _khje=0;   
        #endregion
  
  
        #region Public 成员
   
        /// <summary>
        /// 属性名称：id
        /// 属性描述：ID
        /// 字段信息：[id],nvarchar
        /// </summary>
        [Browsable(false)]
        [DisplayNameAttribute("ID")]
        public string id
        {
            get { return _id; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[ID]长度不能大于50!");
                if (_id as object == null || !_id.Equals(value))
                {
                    _id = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：gdgs
        /// 属性描述：供电公司
        /// 字段信息：[gdgs],nvarchar
        /// </summary>
        [DisplayNameAttribute("供电公司")]
        public string gdgs
        {
            get { return _gdgs; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[供电公司]长度不能大于50!");
                if (_gdgs as object == null || !_gdgs.Equals(value))
                {
                    _gdgs = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhjt
        /// 属性描述：隐患简题
        /// 字段信息：[yhjt],nvarchar
        /// </summary>
        [DisplayNameAttribute("隐患简题")]
        public string yhjt
        {
            get { return _yhjt; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 250)
                throw new Exception("[隐患简题]长度不能大于250!");
                if (_yhjt as object == null || !_yhjt.Equals(value))
                {
                    _yhjt = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhly
        /// 属性描述：隐患来源
        /// 字段信息：[yhly],nvarchar
        /// </summary>
        [DisplayNameAttribute("隐患来源")]
        public string yhly
        {
            get { return _yhly; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[隐患来源]长度不能大于50!");
                if (_yhly as object == null || !_yhly.Equals(value))
                {
                    _yhly = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhbh
        /// 属性描述：隐患编号
        /// 字段信息：[yhbh],nvarchar
        /// </summary>
        [DisplayNameAttribute("隐患编号")]
        public string yhbh
        {
            get { return _yhbh; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[隐患编号]长度不能大于50!");
                if (_yhbh as object == null || !_yhbh.Equals(value))
                {
                    _yhbh = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhdwID
        /// 属性描述：隐串单位ID
        /// 字段信息：[yhdwID],nvarchar
        /// </summary>
        [DisplayNameAttribute("隐串单位ID")]
        public string yhdwID
        {
            get { return _yhdwid; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[隐串单位ID]长度不能大于50!");
                if (_yhdwid as object == null || !_yhdwid.Equals(value))
                {
                    _yhdwid = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhdw
        /// 属性描述：隐患单位
        /// 字段信息：[yhdw],nvarchar
        /// </summary>
        [DisplayNameAttribute("隐患单位")]
        public string yhdw
        {
            get { return _yhdw; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[隐患单位]长度不能大于50!");
                if (_yhdw as object == null || !_yhdw.Equals(value))
                {
                    _yhdw = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhzyfl
        /// 属性描述：专业分类
        /// 字段信息：[yhzyfl],nvarchar
        /// </summary>
        [DisplayNameAttribute("专业分类")]
        public string yhzyfl
        {
            get { return _yhzyfl; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[专业分类]长度不能大于50!");
                if (_yhzyfl as object == null || !_yhzyfl.Equals(value))
                {
                    _yhzyfl = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yhfxr
        /// 属性描述：发现人
        /// 字段信息：[yhfxr],nvarchar
        /// </summary>
        [DisplayNameAttribute("发现人")]
        public string yhfxr
        {
            get { return _yhfxr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[发现人]长度不能大于50!");
                if (_yhfxr as object == null || !_yhfxr.Equals(value))
                {
                    _yhfxr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：fxrdwID
        /// 属性描述：发现人单位ID
        /// 字段信息：[fxrdwID],nvarchar
        /// </summary>
        [DisplayNameAttribute("发现人单位ID")]
        public string fxrdwID
        {
            get { return _fxrdwid; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[发现人单位ID]长度不能大于50!");
                if (_fxrdwid as object == null || !_fxrdwid.Equals(value))
                {
                    _fxrdwid = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：fxrdw
        /// 属性描述：发现人单位
        /// 字段信息：[fxrdw],nvarchar
        /// </summary>
        [DisplayNameAttribute("发现人单位")]
        public string fxrdw
        {
            get { return _fxrdw; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[发现人单位]长度不能大于50!");
                if (_fxrdw as object == null || !_fxrdw.Equals(value))
                {
                    _fxrdw = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：fxrq
        /// 属性描述：发现日期
        /// 字段信息：[fxrq],datetime
        /// </summary>
        [DisplayNameAttribute("发现日期")]
        public DateTime fxrq
        {
            get { return _fxrq; }
            set
            {			
                if (_fxrq as object == null || !_fxrq.Equals(value))
                {
                    _fxrq = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：fxyhnr
        /// 属性描述：隐患内容
        /// 字段信息：[fxyhnr],nvarchar
        /// </summary>
        [DisplayNameAttribute("隐患内容")]
        public string fxyhnr
        {
            get { return _fxyhnr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 1073741823)
                throw new Exception("[隐患内容]长度不能大于1073741823!");
                if (_fxyhnr as object == null || !_fxyhnr.Equals(value))
                {
                    _fxyhnr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：knhg
        /// 属性描述：可能导致后果
        /// 字段信息：[knhg],nvarchar
        /// </summary>
        [DisplayNameAttribute("可能导致后果")]
        public string knhg
        {
            get { return _knhg; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 250)
                throw new Exception("[可能导致后果]长度不能大于250!");
                if (_knhg as object == null || !_knhg.Equals(value))
                {
                    _knhg = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgdj
        /// 属性描述：预评估等级
        /// 字段信息：[ypgdj],nvarchar
        /// </summary>
        [DisplayNameAttribute("预评估等级")]
        public string ypgdj
        {
            get { return _ypgdj; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[预评估等级]长度不能大于50!");
                if (_ypgdj as object == null || !_ypgdj.Equals(value))
                {
                    _ypgdj = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgfzr
        /// 属性描述：预评估负责人
        /// 字段信息：[ypgfzr],nvarchar
        /// </summary>
        [DisplayNameAttribute("预评估负责人")]
        public string ypgfzr
        {
            get { return _ypgfzr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[预评估负责人]长度不能大于50!");
                if (_ypgfzr as object == null || !_ypgfzr.Equals(value))
                {
                    _ypgfzr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgrq1
        /// 属性描述：预评估日期1
        /// 字段信息：[ypgrq1],datetime
        /// </summary>
        [DisplayNameAttribute("预评估日期1")]
        public DateTime ypgrq1
        {
            get { return _ypgrq1; }
            set
            {			
                if (_ypgrq1 as object == null || !_ypgrq1.Equals(value))
                {
                    _ypgrq1 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgsh2
        /// 属性描述：预评估规范性审核负责人
        /// 字段信息：[ypgsh2],nvarchar
        /// </summary>
        [DisplayNameAttribute("预评估规范性审核负责人")]
        public string ypgsh2
        {
            get { return _ypgsh2; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[预评估规范性审核负责人]长度不能大于50!");
                if (_ypgsh2 as object == null || !_ypgsh2.Equals(value))
                {
                    _ypgsh2 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgrq2
        /// 属性描述：预评估日期2
        /// 字段信息：[ypgrq2],datetime
        /// </summary>
        [DisplayNameAttribute("预评估日期2")]
        public DateTime ypgrq2
        {
            get { return _ypgrq2; }
            set
            {			
                if (_ypgrq2 as object == null || !_ypgrq2.Equals(value))
                {
                    _ypgrq2 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgsh3
        /// 属性描述：预评估工区领导审核
        /// 字段信息：[ypgsh3],nvarchar
        /// </summary>
        [DisplayNameAttribute("预评估工区领导审核")]
        public string ypgsh3
        {
            get { return _ypgsh3; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[预评估工区领导审核]长度不能大于50!");
                if (_ypgsh3 as object == null || !_ypgsh3.Equals(value))
                {
                    _ypgsh3 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ypgrq3
        /// 属性描述：预评估日期3
        /// 字段信息：[ypgrq3],datetime
        /// </summary>
        [DisplayNameAttribute("预评估日期3")]
        public DateTime ypgrq3
        {
            get { return _ypgrq3; }
            set
            {			
                if (_ypgrq3 as object == null || !_ypgrq3.Equals(value))
                {
                    _ypgrq3 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgdj
        /// 属性描述：评估等级
        /// 字段信息：[pgdj],nvarchar
        /// </summary>
        [DisplayNameAttribute("评估等级")]
        public string pgdj
        {
            get { return _pgdj; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[评估等级]长度不能大于50!");
                if (_pgdj as object == null || !_pgdj.Equals(value))
                {
                    _pgdj = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgfzr
        /// 属性描述：评估负责人
        /// 字段信息：[pgfzr],nvarchar
        /// </summary>
        [DisplayNameAttribute("评估负责人")]
        public string pgfzr
        {
            get { return _pgfzr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[评估负责人]长度不能大于50!");
                if (_pgfzr as object == null || !_pgfzr.Equals(value))
                {
                    _pgfzr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgrq1
        /// 属性描述：评估日期1
        /// 字段信息：[pgrq1],datetime
        /// </summary>
        [DisplayNameAttribute("评估日期1")]
        public DateTime pgrq1
        {
            get { return _pgrq1; }
            set
            {			
                if (_pgrq1 as object == null || !_pgrq1.Equals(value))
                {
                    _pgrq1 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgsh2
        /// 属性描述：部门负责人审核
        /// 字段信息：[pgsh2],nvarchar
        /// </summary>
        [DisplayNameAttribute("部门负责人审核")]
        public string pgsh2
        {
            get { return _pgsh2; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[部门负责人审核]长度不能大于50!");
                if (_pgsh2 as object == null || !_pgsh2.Equals(value))
                {
                    _pgsh2 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgrq2
        /// 属性描述：评估日期2
        /// 字段信息：[pgrq2],datetime
        /// </summary>
        [DisplayNameAttribute("评估日期2")]
        public DateTime pgrq2
        {
            get { return _pgrq2; }
            set
            {			
                if (_pgrq2 as object == null || !_pgrq2.Equals(value))
                {
                    _pgrq2 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgsh3
        /// 属性描述：评估规范性审核负责人
        /// 字段信息：[pgsh3],nvarchar
        /// </summary>
        [DisplayNameAttribute("评估规范性审核负责人")]
        public string pgsh3
        {
            get { return _pgsh3; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[评估规范性审核负责人]长度不能大于50!");
                if (_pgsh3 as object == null || !_pgsh3.Equals(value))
                {
                    _pgsh3 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgrq3
        /// 属性描述：评估日期3
        /// 字段信息：[pgrq3],datetime
        /// </summary>
        [DisplayNameAttribute("评估日期3")]
        public DateTime pgrq3
        {
            get { return _pgrq3; }
            set
            {			
                if (_pgrq3 as object == null || !_pgrq3.Equals(value))
                {
                    _pgrq3 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgsh4
        /// 属性描述：地市公司领导审核
        /// 字段信息：[pgsh4],nvarchar
        /// </summary>
        [DisplayNameAttribute("地市公司领导审核")]
        public string pgsh4
        {
            get { return _pgsh4; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[地市公司领导审核]长度不能大于50!");
                if (_pgsh4 as object == null || !_pgsh4.Equals(value))
                {
                    _pgsh4 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：pgrq4
        /// 属性描述：评估日期4
        /// 字段信息：[pgrq4],datetime
        /// </summary>
        [DisplayNameAttribute("评估日期4")]
        public DateTime pgrq4
        {
            get { return _pgrq4; }
            set
            {			
                if (_pgrq4 as object == null || !_pgrq4.Equals(value))
                {
                    _pgrq4 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ykcs
        /// 属性描述：预控措施
        /// 字段信息：[ykcs],nvarchar
        /// </summary>
        [DisplayNameAttribute("预控措施")]
        public string ykcs
        {
            get { return _ykcs; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 250)
                throw new Exception("[预控措施]长度不能大于250!");
                if (_ykcs as object == null || !_ykcs.Equals(value))
                {
                    _ykcs = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zgcs
        /// 属性描述：整改措施
        /// 字段信息：[zgcs],nvarchar
        /// </summary>
        [DisplayNameAttribute("整改措施")]
        public string zgcs
        {
            get { return _zgcs; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 250)
                throw new Exception("[整改措施]长度不能大于250!");
                if (_zgcs as object == null || !_zgcs.Equals(value))
                {
                    _zgcs = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zldw
        /// 属性描述：治理责任单位
        /// 字段信息：[zldw],nvarchar
        /// </summary>
        [DisplayNameAttribute("治理责任单位")]
        public string zldw
        {
            get { return _zldw; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[治理责任单位]长度不能大于50!");
                if (_zldw as object == null || !_zldw.Equals(value))
                {
                    _zldw = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zlr
        /// 属性描述：治理人
        /// 字段信息：[zlr],nvarchar
        /// </summary>
        [DisplayNameAttribute("治理人")]
        public string zlr
        {
            get { return _zlr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[治理人]长度不能大于50!");
                if (_zlr as object == null || !_zlr.Equals(value))
                {
                    _zlr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zlrq1
        /// 属性描述：治理期限起
        /// 字段信息：[zlrq1],datetime
        /// </summary>
        [DisplayNameAttribute("治理期限起")]
        public DateTime zlrq1
        {
            get { return _zlrq1; }
            set
            {			
                if (_zlrq1 as object == null || !_zlrq1.Equals(value))
                {
                    _zlrq1 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zlrq2
        /// 属性描述：治理期限止
        /// 字段信息：[zlrq2],datetime
        /// </summary>
        [DisplayNameAttribute("治理期限止")]
        public DateTime zlrq2
        {
            get { return _zlrq2; }
            set
            {			
                if (_zlrq2 as object == null || !_zlrq2.Equals(value))
                {
                    _zlrq2 = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zlwcqc
        /// 属性描述：治理完成情况
        /// 字段信息：[zlwcqc],nvarchar
        /// </summary>
        [DisplayNameAttribute("治理完成情况")]
        public string zlwcqc
        {
            get { return _zlwcqc; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 200)
                throw new Exception("[治理完成情况]长度不能大于200!");
                if (_zlwcqc as object == null || !_zlwcqc.Equals(value))
                {
                    _zlwcqc = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yssqdw
        /// 属性描述：验收申请单位
        /// 字段信息：[yssqdw],nvarchar
        /// </summary>
        [DisplayNameAttribute("验收申请单位")]
        public string yssqdw
        {
            get { return _yssqdw; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[验收申请单位]长度不能大于50!");
                if (_yssqdw as object == null || !_yssqdw.Equals(value))
                {
                    _yssqdw = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yssqfzr
        /// 属性描述：申请负责人
        /// 字段信息：[yssqfzr],nvarchar
        /// </summary>
        [DisplayNameAttribute("申请负责人")]
        public string yssqfzr
        {
            get { return _yssqfzr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[申请负责人]长度不能大于50!");
                if (_yssqfzr as object == null || !_yssqfzr.Equals(value))
                {
                    _yssqfzr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yssqrq
        /// 属性描述：申请日期
        /// 字段信息：[yssqrq],datetime
        /// </summary>
        [DisplayNameAttribute("申请日期")]
        public DateTime yssqrq
        {
            get { return _yssqrq; }
            set
            {			
                if (_yssqrq as object == null || !_yssqrq.Equals(value))
                {
                    _yssqrq = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yszzdw
        /// 属性描述：验收组织单位
        /// 字段信息：[yszzdw],nvarchar
        /// </summary>
        [DisplayNameAttribute("验收组织单位")]
        public string yszzdw
        {
            get { return _yszzdw; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[验收组织单位]长度不能大于50!");
                if (_yszzdw as object == null || !_yszzdw.Equals(value))
                {
                    _yszzdw = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ysyj
        /// 属性描述：验收意见
        /// 字段信息：[ysyj],nvarchar
        /// </summary>
        [DisplayNameAttribute("验收意见")]
        public string ysyj
        {
            get { return _ysyj; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 200)
                throw new Exception("[验收意见]长度不能大于200!");
                if (_ysyj as object == null || !_ysyj.Equals(value))
                {
                    _ysyj = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ysjl
        /// 属性描述：结论
        /// 字段信息：[ysjl],nvarchar
        /// </summary>
        [DisplayNameAttribute("结论")]
        public string ysjl
        {
            get { return _ysjl; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[结论]长度不能大于50!");
                if (_ysjl as object == null || !_ysjl.Equals(value))
                {
                    _ysjl = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yssfxc
        /// 属性描述：是否消除
        /// 字段信息：[yssfxc],nvarchar
        /// </summary>
        [DisplayNameAttribute("是否消除")]
        public string yssfxc
        {
            get { return _yssfxc; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[是否消除]长度不能大于50!");
                if (_yssfxc as object == null || !_yssfxc.Equals(value))
                {
                    _yssfxc = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：yszz
        /// 属性描述：验收组长
        /// 字段信息：[yszz],nvarchar
        /// </summary>
        [DisplayNameAttribute("验收组长")]
        public string yszz
        {
            get { return _yszz; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[验收组长]长度不能大于50!");
                if (_yszz as object == null || !_yszz.Equals(value))
                {
                    _yszz = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：ysrq
        /// 属性描述：验收日期
        /// 字段信息：[ysrq],datetime
        /// </summary>
        [DisplayNameAttribute("验收日期")]
        public DateTime ysrq
        {
            get { return _ysrq; }
            set
            {			
                if (_ysrq as object == null || !_ysrq.Equals(value))
                {
                    _ysrq = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：lcflag
        /// 属性描述：流程标记
        /// 字段信息：[lcflag],nvarchar
        /// </summary>
        [DisplayNameAttribute("流程标记")]
        public string lcflag
        {
            get { return _lcflag; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[流程标记]长度不能大于50!");
                if (_lcflag as object == null || !_lcflag.Equals(value))
                {
                    _lcflag = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：tjflag
        /// 属性描述：提交标记
        /// 字段信息：[tjflag],nvarchar
        /// </summary>
        [DisplayNameAttribute("提交标记")]
        public string tjflag
        {
            get { return _tjflag; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[提交标记]长度不能大于50!");
                if (_tjflag as object == null || !_tjflag.Equals(value))
                {
                    _tjflag = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：bhflag
        /// 属性描述：闭环标记
        /// 字段信息：[bhflag],nvarchar
        /// </summary>
        [DisplayNameAttribute("闭环标记")]
        public string bhflag
        {
            get { return _bhflag; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[闭环标记]长度不能大于50!");
                if (_bhflag as object == null || !_bhflag.Equals(value))
                {
                    _bhflag = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：gsbm
        /// 属性描述：
        /// 字段信息：[gsbm],nvarchar
        /// </summary>
        [DisplayNameAttribute("")]
        public string gsbm
        {
            get { return _gsbm; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[]长度不能大于50!");
                if (_gsbm as object == null || !_gsbm.Equals(value))
                {
                    _gsbm = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：tjr
        /// 属性描述：
        /// 字段信息：[tjr],nvarchar
        /// </summary>
        [DisplayNameAttribute("")]
        public string tjr
        {
            get { return _tjr; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[]长度不能大于50!");
                if (_tjr as object == null || !_tjr.Equals(value))
                {
                    _tjr = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：dqyh
        /// 属性描述：
        /// 字段信息：[dqyh],nvarchar
        /// </summary>
        [DisplayNameAttribute("")]
        public string dqyh
        {
            get { return _dqyh; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[]长度不能大于50!");
                if (_dqyh as object == null || !_dqyh.Equals(value))
                {
                    _dqyh = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：dqyhsj
        /// 属性描述：
        /// 字段信息：[dqyhsj],datetime
        /// </summary>
        [DisplayNameAttribute("")]
        public DateTime dqyhsj
        {
            get { return _dqyhsj; }
            set
            {			
                if (_dqyhsj as object == null || !_dqyhsj.Equals(value))
                {
                    _dqyhsj = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：tjrq
        /// 属性描述：提交时间
        /// 字段信息：[tjrq],datetime
        /// </summary>
        [DisplayNameAttribute("提交时间")]
        public DateTime tjrq
        {
            get { return _tjrq; }
            set
            {			
                if (_tjrq as object == null || !_tjrq.Equals(value))
                {
                    _tjrq = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：backflag
        /// 属性描述：退回标识
        /// 字段信息：[backflag],nvarchar
        /// </summary>
        [DisplayNameAttribute("退回标识")]
        public string backflag
        {
            get { return _backflag; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[退回标识]长度不能大于50!");
                if (_backflag as object == null || !_backflag.Equals(value))
                {
                    _backflag = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：backer
        /// 属性描述：退回人
        /// 字段信息：[backer],nvarchar
        /// </summary>
        [DisplayNameAttribute("退回人")]
        public string backer
        {
            get { return _backer; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[退回人]长度不能大于50!");
                if (_backer as object == null || !_backer.Equals(value))
                {
                    _backer = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：backdate
        /// 属性描述：退回时间
        /// 字段信息：[backdate],datetime
        /// </summary>
        [DisplayNameAttribute("退回时间")]
        public DateTime backdate
        {
            get { return _backdate; }
            set
            {			
                if (_backdate as object == null || !_backdate.Equals(value))
                {
                    _backdate = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：lcstatus
        /// 属性描述：流程状态
        /// 字段信息：[lcstatus],nvarchar
        /// </summary>
        [DisplayNameAttribute("流程状态")]
        public string lcstatus
        {
            get { return _lcstatus; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[流程状态]长度不能大于50!");
                if (_lcstatus as object == null || !_lcstatus.Equals(value))
                {
                    _lcstatus = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zlflag
        /// 属性描述：治理标识
        /// 字段信息：[zlflag],nvarchar
        /// </summary>
        [DisplayNameAttribute("治理标识")]
        public string zlflag
        {
            get { return _zlflag; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[治理标识]长度不能大于50!");
                if (_zlflag as object == null || !_zlflag.Equals(value))
                {
                    _zlflag = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：zlstatus
        /// 属性描述：治理状态
        /// 字段信息：[zlstatus],nvarchar
        /// </summary>
        [DisplayNameAttribute("治理状态")]
        public string zlstatus
        {
            get { return _zlstatus; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[治理状态]长度不能大于50!");
                if (_zlstatus as object == null || !_zlstatus.Equals(value))
                {
                    _zlstatus = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：lcrecord
        /// 属性描述：流程记录
        /// 字段信息：[lcrecord],nvarchar
        /// </summary>
        [DisplayNameAttribute("流程记录")]
        public string lcrecord
        {
            get { return _lcrecord; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 4000)
                throw new Exception("[流程记录]长度不能大于4000!");
                if (_lcrecord as object == null || !_lcrecord.Equals(value))
                {
                    _lcrecord = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：fxrgh
        /// 属性描述：发现人工号
        /// 字段信息：[fxrgh],nvarchar
        /// </summary>
        [DisplayNameAttribute("发现人工号")]
        public string fxrgh
        {
            get { return _fxrgh; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[发现人工号]长度不能大于50!");
                if (_fxrgh as object == null || !_fxrgh.Equals(value))
                {
                    _fxrgh = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：sfzykz
        /// 属性描述：是否主业开支
        /// 字段信息：[sfzykz],nvarchar
        /// </summary>
        [DisplayNameAttribute("是否主业开支")]
        public string sfzykz
        {
            get { return _sfzykz; }
            set
            {			
                if(value==null)return;
                if( value.ToString().Length > 50)
                throw new Exception("[是否主业开支]长度不能大于50!");
                if (_sfzykz as object == null || !_sfzykz.Equals(value))
                {
                    _sfzykz = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：jlje
        /// 属性描述：奖励金额
        /// 字段信息：[jlje],int
        /// </summary>
        [DisplayNameAttribute("奖励金额")]
        public int jlje
        {
            get { return _jlje; }
            set
            {			
                if (_jlje as object == null || !_jlje.Equals(value))
                {
                    _jlje = value;
                }
            }			 
        }
  
        /// <summary>
        /// 属性名称：khje
        /// 属性描述：考核金额
        /// 字段信息：[khje],int
        /// </summary>
        [DisplayNameAttribute("考核金额")]
        public int khje
        {
            get { return _khje; }
            set
            {			
                if (_khje as object == null || !_khje.Equals(value))
                {
                    _khje = value;
                }
            }			 
        }
  
        #endregion 
  
        #region 方法
        public static string Newid(){
            return DateTime.Now.ToString("yyyyMMddHHmmssffffff");
        }
        public string CreateID(){
            Thread.Sleep(new TimeSpan(100000));//0.1毫秒
            return DateTime.Now.ToString("yyyyMMddHHmmssffffff");
        }
        #endregion		
    }	
}
